Repository navigation
third_party: RFC 9180's test vectors (cfrg/draft-irtf-cfrg-hpke) as /third_party//hpke, test data of crypto's HPKE - #66
Merged
Conversation
…503c5) as /third_party//hpke, test data of crypto's HPKE The CFRG's test-vectors.json, Appendix A's source, pinned shallow as third_party/libs/hpke: /third_party//hpke gives a test its directory by WEBCPP_TEST_HPKE, wasmtime is given it on WASI, and a test runs again when the file changes. A build that names it without the checkout stops with the command that checks it out. The repository is an IETF Contribution under the IETF Trust's Legal Provisions (code components under the Simplified BSD License); the submodule redistributes nothing. The pin and the refusal are tested in tools/test/third_party_test.py; the guidelines' third-party table, AGENTS.md's lists and the release notes name it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds RFC 9180's test vectors as test data for crypto's HPKE (webcpporg/proposals,
libraries/crypto/openspec/changes/hpke, rulings B3 and R21). A library's CI checks out webcpp'smain, so this has to merge before crypto's HPKE pull request.third_party/libs/hpke: cfrg/draft-irtf-cfrg-hpke at5f503c5, shallow. Itstest-vectors.jsonis the source of RFC 9180's Appendix A: 128 entries, of which crypto runs the 64 for its suites./third_party//hpkeinthird_party/Jamfile, the same shape as/third_party//bips. A test gets the directory throughWEBCPP_TEST_HPKE, wasmtime gets it throughwebcpp.data, and the test runs again when the file changes. A build that needs it without the checkout stops and prints thegit submodule updatecommand.tools/test/third_party_test.py:test_hpke_is_pinnedandtest_hpke_not_checked_out_is_refused.Licence: the repository is an IETF Contribution under the IETF Trust's Legal Provisions (BCP 78), and its code components are under the Simplified BSD License. The submodule redistributes nothing.
Before merging, this branch will also move
libs/hashto the merge of webcpporg/hash#20 (maxandminin parentheses), which HPKE's headers need on MSVC.Verified locally:
third_party_test.py:test_hpke_is_pinned,test_hpke_not_checked_out_is_refusedandtest_ed25519_speccheck_not_checked_out_is_refusedpass.🤖 Generated with Claude Code